<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="dart:ffi library API docs, for the Dart programming language.">
  <title>dart:ffi library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">
  <!-- header placeholder -->
</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">flutter_form_builder</a></li>
    <li class="self-crumb">dart:ffi library</li>
  </ol>
  <div class="self-name">dart:ffi</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="index.html">flutter_form_builder</a></li>
      <li class="self-crumb">dart:ffi library</li>
    </ol>
    
    <h5><span class="package-name">flutter_form_builder</span> <span class="package-kind">package</span></h5>
    <ol>
          <li class="section-title">Libraries</li>
          <li><a href="flutter_form_builder/flutter_form_builder-library.html">flutter_form_builder</a></li>
          <li class="section-title">Dart</li>
          <li><a href="dart-ui/dart-ui-library.html">dart:ui</a></li>
          <li class="section-subtitle">Core</li>
            <li class="section-subitem"><a href="dart-async/dart-async-library.html">dart:async</a></li>
            <li class="section-subitem"><a href="dart-collection/dart-collection-library.html">dart:collection</a></li>
            <li class="section-subitem"><a href="dart-convert/dart-convert-library.html">dart:convert</a></li>
            <li class="section-subitem"><a href="dart-core/dart-core-library.html">dart:core</a></li>
            <li class="section-subitem"><a href="dart-developer/dart-developer-library.html">dart:developer</a></li>
            <li class="section-subitem"><a href="dart-math/dart-math-library.html">dart:math</a></li>
            <li class="section-subitem"><a href="dart-typed_data/dart-typed_data-library.html">dart:typed_data</a></li>
          <li class="section-subtitle">VM</li>
            <li class="section-subitem"><a href="dart-ffi/dart-ffi-library.html">dart:ffi</a></li>
            <li class="section-subitem"><a href="dart-io/dart-io-library.html">dart:io</a></li>
            <li class="section-subitem"><a href="dart-isolate/dart-isolate-library.html">dart:isolate</a></li>
          <li class="section-subtitle">Web</li>
            <li class="section-subitem"><a href="dart-html/dart-html-library.html">dart:html</a></li>
            <li class="section-subitem"><a href="dart-js/dart-js-library.html">dart:js</a></li>
            <li class="section-subitem"><a href="dart-js_util/dart-js_util-library.html">dart:js_util</a></li>
    </ol>
  </div>

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-library">dart:ffi</span> library </h1></div>

    <section class="desc markdown">
      <p>Foreign Function Interface for interoperability with the C programming language.</p>
<p><strong>NOTE</strong>: Dart:FFI is in beta, and breaking API changes might still happen.</p>
<p>For further details, please see: <a href="https://dart.dev/server/c-interop">https://dart.dev/server/c-interop</a></p>
    </section>
    
    <section class="summary offset-anchor" id="classes">
      <h2>Classes</h2>

      <dl>
        <dt id="DartRepresentationOf">
          <span class="name "><a href="dart-ffi/DartRepresentationOf-class.html">DartRepresentationOf</a></span>         
        </dt>
        <dd>
          
        </dd>
        <dt id="Double">
          <span class="name "><a href="dart-ffi/Double-class.html">Double</a></span>         
        </dt>
        <dd>
          Represents a native 64 bit double in C. <a href="dart-ffi/Double-class.html">[...]</a>
        </dd>
        <dt id="DynamicLibrary">
          <span class="name "><a href="dart-ffi/DynamicLibrary-class.html">DynamicLibrary</a></span>         
        </dt>
        <dd>
          Represents a dynamically loaded C library.
        </dd>
        <dt id="Float">
          <span class="name "><a href="dart-ffi/Float-class.html">Float</a></span>         
        </dt>
        <dd>
          Represents a native 32 bit float in C. <a href="dart-ffi/Float-class.html">[...]</a>
        </dd>
        <dt id="Int8">
          <span class="name "><a href="dart-ffi/Int8-class.html">Int8</a></span>         
        </dt>
        <dd>
          Represents a native signed 8 bit integer in C. <a href="dart-ffi/Int8-class.html">[...]</a>
        </dd>
        <dt id="Int16">
          <span class="name "><a href="dart-ffi/Int16-class.html">Int16</a></span>         
        </dt>
        <dd>
          Represents a native signed 16 bit integer in C. <a href="dart-ffi/Int16-class.html">[...]</a>
        </dd>
        <dt id="Int32">
          <span class="name "><a href="dart-ffi/Int32-class.html">Int32</a></span>         
        </dt>
        <dd>
          Represents a native signed 32 bit integer in C. <a href="dart-ffi/Int32-class.html">[...]</a>
        </dd>
        <dt id="Int64">
          <span class="name "><a href="dart-ffi/Int64-class.html">Int64</a></span>         
        </dt>
        <dd>
          Represents a native signed 64 bit integer in C. <a href="dart-ffi/Int64-class.html">[...]</a>
        </dd>
        <dt id="IntPtr">
          <span class="name "><a href="dart-ffi/IntPtr-class.html">IntPtr</a></span>         
        </dt>
        <dd>
          Represents a native pointer-sized integer in C. <a href="dart-ffi/IntPtr-class.html">[...]</a>
        </dd>
        <dt id="NativeFunction">
          <span class="name "><a href="dart-ffi/NativeFunction-class.html">NativeFunction</a><span class="signature">&lt;<wbr><span class="type-parameter">T extends <a href="dart-core/Function-class.html">Function</a></span>&gt;</span></span>         
        </dt>
        <dd>
          Represents a function type in C. <a href="dart-ffi/NativeFunction-class.html">[...]</a>
        </dd>
        <dt id="NativeType">
          <span class="name "><a href="dart-ffi/NativeType-class.html">NativeType</a></span>         
        </dt>
        <dd>
          <a href="dart-ffi/NativeType-class.html">NativeType</a>'s subtypes represent a native type in C. <a href="dart-ffi/NativeType-class.html">[...]</a>
        </dd>
        <dt id="Pointer">
          <span class="name "><a href="dart-ffi/Pointer-class.html">Pointer</a><span class="signature">&lt;<wbr><span class="type-parameter">T extends <a href="dart-ffi/NativeType-class.html">NativeType</a></span>&gt;</span></span>         
        </dt>
        <dd>
          Represents a pointer into the native C memory. Cannot be extended.
        </dd>
        <dt id="Struct">
          <span class="name "><a href="dart-ffi/Struct-class.html">Struct</a></span>         
        </dt>
        <dd>
          This class is extended to define structs. <a href="dart-ffi/Struct-class.html">[...]</a>
        </dd>
        <dt id="Uint8">
          <span class="name "><a href="dart-ffi/Uint8-class.html">Uint8</a></span>         
        </dt>
        <dd>
          Represents a native unsigned 8 bit integer in C. <a href="dart-ffi/Uint8-class.html">[...]</a>
        </dd>
        <dt id="Uint16">
          <span class="name "><a href="dart-ffi/Uint16-class.html">Uint16</a></span>         
        </dt>
        <dd>
          Represents a native unsigned 16 bit integer in C. <a href="dart-ffi/Uint16-class.html">[...]</a>
        </dd>
        <dt id="Uint32">
          <span class="name "><a href="dart-ffi/Uint32-class.html">Uint32</a></span>         
        </dt>
        <dd>
          Represents a native unsigned 32 bit integer in C. <a href="dart-ffi/Uint32-class.html">[...]</a>
        </dd>
        <dt id="Uint64">
          <span class="name "><a href="dart-ffi/Uint64-class.html">Uint64</a></span>         
        </dt>
        <dd>
          Represents a native unsigned 64 bit integer in C. <a href="dart-ffi/Uint64-class.html">[...]</a>
        </dd>
        <dt id="Unsized">
          <span class="name "><a href="dart-ffi/Unsized-class.html">Unsized</a></span>         
        </dt>
        <dd>
          
        </dd>
        <dt id="Void">
          <span class="name "><a href="dart-ffi/Void-class.html">Void</a></span>         
        </dt>
        <dd>
          Represents a void type in C. <a href="dart-ffi/Void-class.html">[...]</a>
        </dd>
      </dl>
    </section>


    <section class="summary offset-anchor" id="extensions">
      <h2>Extensions</h2>

      <dl>
        <dt id="DoublePointer">
            <span class="name "><a href="dart-ffi/DoublePointer.html">DoublePointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Double-class.html">Double</a>.
        </dd>
        
        <dt id="FloatPointer">
            <span class="name "><a href="dart-ffi/FloatPointer.html">FloatPointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Float-class.html">Float</a>.
        </dd>
        
        <dt id="Int8Pointer">
            <span class="name "><a href="dart-ffi/Int8Pointer.html">Int8Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Int8-class.html">Int8</a>.
        </dd>
        
        <dt id="Int16Pointer">
            <span class="name "><a href="dart-ffi/Int16Pointer.html">Int16Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Int16-class.html">Int16</a>.
        </dd>
        
        <dt id="Int32Pointer">
            <span class="name "><a href="dart-ffi/Int32Pointer.html">Int32Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Int32-class.html">Int32</a>.
        </dd>
        
        <dt id="Int64Pointer">
            <span class="name "><a href="dart-ffi/Int64Pointer.html">Int64Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Int64-class.html">Int64</a>.
        </dd>
        
        <dt id="IntPtrPointer">
            <span class="name "><a href="dart-ffi/IntPtrPointer.html">IntPtrPointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/IntPtr-class.html">IntPtr</a>.
        </dd>
        
        <dt id="NativePort">
            <span class="name "><a href="dart-ffi/NativePort.html">NativePort</a></span>         
        </dt>
        <dd>
            Extension to retrieve the native <code>Dart_Port</code> from a <a href="dart-isolate/SendPort-class.html">SendPort</a>.
        </dd>
        
        <dt id="PointerPointer">
            <span class="name "><a href="dart-ffi/PointerPointer.html">PointerPointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Pointer-class.html">Pointer</a>.
        </dd>
        
        <dt id="StructAddressOf">
            <span class="name "><a href="dart-ffi/StructAddressOf.html">StructAddressOf</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Struct-class.html">Struct</a> specialized for it's subtypes.
        </dd>
        
        <dt id="StructPointer">
            <span class="name "><a href="dart-ffi/StructPointer.html">StructPointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Struct-class.html">Struct</a>.
        </dd>
        
        <dt id="Uint8Pointer">
            <span class="name "><a href="dart-ffi/Uint8Pointer.html">Uint8Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Uint8-class.html">Uint8</a>.
        </dd>
        
        <dt id="Uint16Pointer">
            <span class="name "><a href="dart-ffi/Uint16Pointer.html">Uint16Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Uint16-class.html">Uint16</a>.
        </dd>
        
        <dt id="Uint32Pointer">
            <span class="name "><a href="dart-ffi/Uint32Pointer.html">Uint32Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Uint32-class.html">Uint32</a>.
        </dd>
        
        <dt id="Uint64Pointer">
            <span class="name "><a href="dart-ffi/Uint64Pointer.html">Uint64Pointer</a></span>         
        </dt>
        <dd>
            Extension on <a href="dart-ffi/Pointer-class.html">Pointer</a> specialized for the type argument <a href="dart-ffi/Uint64-class.html">Uint64</a>.
        </dd>
        
      </dl>
    </section>

    <section class="summary offset-anchor" id="constants">
      <h2>Constants</h2>

      <dl class="properties">
        <dt id="unsized" class="constant">
          <span class="name "><a href="dart-ffi/unsized-constant.html">unsized</a></span>
          <span class="signature">&#8594; const <a href="dart-ffi/Unsized-class.html">Unsized</a></span>
                  </dt>
        <dd>
          This <a href="dart-ffi/NativeType-class.html">NativeType</a> does not have predefined size. <a href="dart-ffi/unsized-constant.html">[...]</a>
                  
  <div>
            <span class="signature"><code>const <a href="dart-ffi/Unsized/Unsized.html">Unsized</a>()</code></span>
          </div>
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="nullptr" class="property">
          <span class="name"><a href="dart-ffi/nullptr.html">nullptr</a></span>
          <span class="signature">&#8594; <a href="dart-ffi/Pointer-class.html">Pointer</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Null-class.html">Null</a></span>&gt;</span></span>         
        </dt>
        <dd>
          Represents a pointer into the native C memory corresponding to "NULL", e.g.
a pointer with address 0.
                  <div class="features">final</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="functions">
      <h2>Functions</h2>

      <dl class="callables">
        <dt id="sizeOf" class="callable">
          <span class="name"><a href="dart-ffi/sizeOf.html">sizeOf</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T extends <a href="dart-ffi/NativeType-class.html">NativeType</a></span>&gt;</span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Number of bytes used by native type T. <a href="dart-ffi/sizeOf.html">[...]</a>
                  
</dd>
      </dl>
    </section>




  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <h5>dart:ffi library</h5>
    <ol>
      <li class="section-title"><a href="dart-ffi/dart-ffi-library.html#classes">Classes</a></li>
      <li><a href="dart-ffi/DartRepresentationOf-class.html">DartRepresentationOf</a></li>
      <li><a href="dart-ffi/Double-class.html">Double</a></li>
      <li><a href="dart-ffi/DynamicLibrary-class.html">DynamicLibrary</a></li>
      <li><a href="dart-ffi/Float-class.html">Float</a></li>
      <li><a href="dart-ffi/Int8-class.html">Int8</a></li>
      <li><a href="dart-ffi/Int16-class.html">Int16</a></li>
      <li><a href="dart-ffi/Int32-class.html">Int32</a></li>
      <li><a href="dart-ffi/Int64-class.html">Int64</a></li>
      <li><a href="dart-ffi/IntPtr-class.html">IntPtr</a></li>
      <li><a href="dart-ffi/NativeFunction-class.html">NativeFunction</a></li>
      <li><a href="dart-ffi/NativeType-class.html">NativeType</a></li>
      <li><a href="dart-ffi/Pointer-class.html">Pointer</a></li>
      <li><a href="dart-ffi/Struct-class.html">Struct</a></li>
      <li><a href="dart-ffi/Uint8-class.html">Uint8</a></li>
      <li><a href="dart-ffi/Uint16-class.html">Uint16</a></li>
      <li><a href="dart-ffi/Uint32-class.html">Uint32</a></li>
      <li><a href="dart-ffi/Uint64-class.html">Uint64</a></li>
      <li><a href="dart-ffi/Unsized-class.html">Unsized</a></li>
      <li><a href="dart-ffi/Void-class.html">Void</a></li>
    
      <li class="section-title"><a href="dart-ffi/dart-ffi-library.html#extension">Extensions</a></li>
      <li><a href="dart-ffi/DoublePointer.html">DoublePointer</a></li>
      <li><a href="dart-ffi/FloatPointer.html">FloatPointer</a></li>
      <li><a href="dart-ffi/Int8Pointer.html">Int8Pointer</a></li>
      <li><a href="dart-ffi/Int16Pointer.html">Int16Pointer</a></li>
      <li><a href="dart-ffi/Int32Pointer.html">Int32Pointer</a></li>
      <li><a href="dart-ffi/Int64Pointer.html">Int64Pointer</a></li>
      <li><a href="dart-ffi/IntPtrPointer.html">IntPtrPointer</a></li>
      <li><a href="dart-ffi/NativePort.html">NativePort</a></li>
      <li><a href="dart-ffi/PointerPointer.html">PointerPointer</a></li>
      <li><a href="dart-ffi/StructAddressOf.html">StructAddressOf</a></li>
      <li><a href="dart-ffi/StructPointer.html">StructPointer</a></li>
      <li><a href="dart-ffi/Uint8Pointer.html">Uint8Pointer</a></li>
      <li><a href="dart-ffi/Uint16Pointer.html">Uint16Pointer</a></li>
      <li><a href="dart-ffi/Uint32Pointer.html">Uint32Pointer</a></li>
      <li><a href="dart-ffi/Uint64Pointer.html">Uint64Pointer</a></li>
    
    
      <li class="section-title"><a href="dart-ffi/dart-ffi-library.html#constants">Constants</a></li>
      <li><a href="dart-ffi/unsized-constant.html">unsized</a></li>
    
      <li class="section-title"><a href="dart-ffi/dart-ffi-library.html#properties">Properties</a></li>
      <li><a href="dart-ffi/nullptr.html">nullptr</a></li>
    
      <li class="section-title"><a href="dart-ffi/dart-ffi-library.html#functions">Functions</a></li>
      <li><a href="dart-ffi/sizeOf.html">sizeOf</a></li>
    
    
    
    </ol>
  </div><!--/sidebar-offcanvas-right-->

</main>

<footer>
  <span class="no-break">
    flutter_form_builder
      3.8.2
  </span>

  <!-- footer-text placeholder -->
</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>
<!-- footer placeholder -->

</body>

</html>
